﻿@model Media.Core.Models.Tv.EpisodeArray
@{
    ViewBag.Title = "Season";
}
<script type="text/javascript">
    $("#TvNav").addClass("current");
</script>
<link rel="stylesheet" href="@Url.Content("~/Content/Peach/css/sprite.tables.css")"> <!-- SPRITE: Tables styling -->
<h2>@Model.ShowTitle Season: @Model.Season</h2>

<div class="box">
	<div class="header">
		<img src="@Url.Content("~/Content/Peach/img/icons/packs/fugue/16x16/shadeless/table.png")" width="16" height="16" />
		<h3>Season: @Model.Season</h3> <span></span>
	</div>
    <div class="content no-padding">
        <table class="table">
			<thead>
				<tr>
					<th scope="col">Episode</th>
					<th scope="col">Title</th>
					<th scope="col">Rating</th>
					<th scope="col">Air Date</th>
                    <th scope="col">Watched</th>
				</tr>
			</thead>
            <tbody>
                @foreach (var Episode in Model.Episodes)
                {
                    <tr>
                        <td>@Episode.EpisodeNumber</td>
                        <td>@Episode.Title</td>
                        <td>@(Episode.Rating == -99 ? "" : Episode.Rating.ToString())</td>
                        <td>@Episode.AirDate</td>
                        <td>NO CHange</td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
	<div class="clear"></div>
</div> <!-- End of .box -->
